import request from '@/utils/request'

// 获取站点类型下拉列表
export function getSiteTypeList() {
  return request({
    url: '/dispatch/web/guanwang/card/siteTypeList',
    method: 'get'
  })
}

// 获取监测量下拉列表
export function getMonitoringList() {
  return request({
    url: '/dispatch/web/guanwang/card/monitoringList',
    method: 'get'
  })
}

// 获取站点卡片信息列表
export function getSiteCardInfo(params) {
  return request({
    url: '/dispatch/web/guanwang/card/info',
    method: 'get',
    params
  })
}

// 获取站点详细信息
export function getSiteDetail(siteId) {
  return request({
    url: `/dispatch/web/guanwang/card/${siteId}`,
    method: 'get'
  })
}